﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Longtop.Web.WebSite.Shared.SiteMasterModel>" %>
<%
    if (Request.IsAuthenticated) {
%>
你好！<b>
    <%= Html.Encode(Model.User.Name) %>，</b>
<%= Html.ActionLink("后台", "index", new {area= "admin"})%>
| <a href="/bbs/index.aspx">论坛</a> |
<%= Html.ActionLink("注销", "LogOff", "Account") %>
<%
    }
    else {
%>
[
<%= Html.ActionLink("登录", "LogOn", "Account")%>
]
<%
    }
%>
